<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">-->

<jsp:useBean id="utenti" scope="application" class="DataAccess.Utenti"/>
<jsp:useBean id="actions" scope="application" class="DataAccess.Actions"/>
<%
//utenti.setConnectionString("jdbc:microsoft:sqlserver://ormt189:1433;DatabaseName=ariellab;user=test;password=test");

//articolo.setDriverString("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//articolo.setConnectionString("jdbc:microsoft:sqlserver://ormt189:1433;DatabaseName=ariellab;user=test;password=test");
actions.setDriverString("com.mysql.jdbc.Driver");
actions.setConnectionString("jdbc:mysql://127.0.0.1/carta?user=root&password=");


//actions.setConnectionString("jdbc:mysql://127.0.0.1/andreafortuna?user=andreafortuna&password=asturias");
//Integer id_articolo = request.getParameter("id_articolo");

//String id_action=request.getParameter("action");
//String id_action = request.getQueryString();

%>



<script type="text/javascript" src="jscript/injection.js"></script>
<script type="text/javascript" src="jscript/wait.js"></script>


   
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="pragma" content="no-cache">
        <title>Gestione Abbonamenti</title>
        
        
    </head>
    <body background="img/bg.gif" onkeyup="validate()" topmargin=0 leftmargin=0  marginwidth=0 marginheight=0>
    <link href="style/style.css" rel="stylesheet" type="text/css" />
    
    <link href="style/style2.css" rel="stylesheet" type="text/css" />
    
    <div id="waitDiv" style="position:absolute; left:42%; top:30%; visibility:hidden; text-align:center;">
    <table cellpadding="3" cellspacing="3" class="waitbox" ><tr>
    <td align="center"  >
    <b><big>Caricamento in corso...</big></b><br />
    <img src="img/await.gif" alt="" />
    <br />Attendere Prego.</td></tr>
    </table>
    </div>

    	<script type='text/javascript'>
	<!--
	toggle_visibility('waitDiv', 1);
	//-->
	</script>
    
    
    <table border="0" width="100%" style="border: 0px; width: 100%; width: 100%;">
  <tr>
    <td width="100%" colspan="3" class="dtree"><%=actions.getHeader()%></td>
  </tr>

  <tr>
    <td valign=top width="25%"class="dtree" style="width:25%;"><%=actions.getAlbero()%></td>
    
    
    
    
    <td align=center width="65%"class="dtree" valign=top  style="width:65%;" ><%=actions.getAction(request)%></td>
    
    



    <td width="10%" style="width:10%;" valign=top><center><%=actions.getHelp(request.getParameter("action"))%></center><br><%=actions.getRight()%></td>
  </tr>
  <tr>
    <td width="100%" colspan="3"class="dtree"><%=actions.getFooter()%></td>
  </tr>
</table>
    
	<script type='text/javascript'>
	<!--
	toggle_visibility('waitDiv', 0);
	//-->
	</script>    

    </body>
</html>
